package com.wangtianxiang.sxp.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description
 * @author wangtianxiang
 * @date: 2021/4/21 17:41
 */
@ApiModel(description = "绑定账号请求vo")
@Data
public class BindAccountDto {

    @NotBlank(message = "code不能为空")
    @ApiModelProperty(value = "临时登录凭证")
    private String code;

    @NotBlank(message = "rawData不能为空")
    @ApiModelProperty(value = "用户非敏感信息")
    private String rawData;

    @NotBlank(message = "signature不能为空")
    @ApiModelProperty(value = "签名")
    private String signature;

    @NotBlank(message = "encryptedData不能为空")
    @ApiModelProperty(value = "用户敏感信息")
    private String encryptedData;

    @NotBlank(message = "iv不能为空")
    @ApiModelProperty(value = "解密算法的向量")
    private String iv;
}
